page{
  background: #F7F7F7;
}
.content {
  padding: 30rpx 40rpx;
  min-height: 400rpx;
  &.no-padding {
    padding: 0 0 180rpx 0;
  }
  .show{
    display: flex !important;
  }
  .hide{
    display: none !important;
  }
  .course {
    margin-bottom: 20rpx;
    position: relative;
    padding: 40rpx;
    background: #ffffff;
    box-shadow: inset 0 15rpx 10rpx -15rpx rgba(0, 0, 0, 0.05);
    margin-top: 5rpx;


    .tag {
      position: absolute;
      right: 40rpx;
      top: 40rpx;
      border-radius: 16rpx;
      color: #fff;
      display: inline-block;
      font-size: 24rpx;
      font-weight: normal;
      padding: 0 20rpx;
      line-height: 40rpx;
      &.primary {
        color: #14CC76;
        background:rgba(20,204,118,0.1);
      }
      &.junior {
        color: #FFBA00;
        background: rgba(255, 186, 0,0.1);
      }
      &.senior {
        color: #FE7141;
        background: rgba(254, 113, 65,0.1);
      }
    }

    .base-info {
      font-size: 28rpx;
      .curriculum-title{
        font-size: 28rpx;
        color: #9B9B9B;
        margin-bottom: 30rpx
      }
      .curriculum-name {
        font-size: 32rpx;
        height: 106rpx;
        max-height: 80rpx;
        // margin-bottom: 20rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        color: #4a4a4a;
        font-weight: bold;
      }
      .school-name {
        font-size: 28rpx;
        margin-top: 16rpx;
        color: #14CC76;
        font-weight: 400;
      }
      .other {
        margin-top: 40rpx;
        font-size: 24rpx;
        color: #757575;
        justify-content: space-between;
        .teachers {
          align-content: flex-start;
          .teacher {
            text-align: center;
            .avatar {
              width: 48rpx;
              height: 48rpx;
              border-radius: 100%;
            }
            .name {
              color: #9B9B9B;
              display: inline-block;
              width: 110rpx;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              font-size: 24rpx;
            }
          }
        }
        .price {
          color: #ff3b30;
          font-size: 40rpx;
          text-align: right;
        }
        .limited {
          color: #FF1E32;
          font-size: 24rpx;
          margin-right: 12rpx;
        }
        .joined-num {
          color: #9B9B9B;
          font-size: 24rpx;
        }
      }
    }
  }

  .pay-type{
    background: #ffffff;
    padding: 10rpx 40rpx;
    color: #4A4A4A;
    font-size: 28rpx;
    .item-pay{
      padding: 30rpx 0;
      justify-content: space-between;
      // &:first-child{
      //   border-bottom: 1px solid #EBEBEB;
      // }
      .item-left{
        text-align: left;
        align-content: flex-start;

      }
      .item-right{
        text-align: right;
      }
      .your-need{
        color: #9B9B9B;
      }
    }
  }

  .bottom-btn {
    box-shadow: 0 -4rpx 4rpx 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding-left: 40rpx;
    padding-right: 40rpx;

    .dark-fn{
      color: #9B9B9B;
      font-size: 28rpx;
    }
    .flex-right{
      text-align: right;
    }
    .price{
      color: #FF1E32;
      font-size: 32rpx;
      font-weight: 500;
    }
    .choose-course {
      position: absolute;
      right: 120rpx;
      width: 320rpx;
      height: 80rpx;
      line-height: 80rpx;
      border-radius: 48rpx;
      color: #fff;
      text-align: center;
      background: #14cc76;
      font-size: 32rpx;
    }
    .flex-left{
      text-align: left;
    }
  }

  .wait-box{
    margin-bottom: 20rpx;
    .wait-logo{
      color: #4A4A4A;
      font-size: 48rpx;
      padding: 20rpx 40rpx;
      font-weight: 500;
    }
    .time-box{
      background: #ffffff;
      padding: 40rpx;
      .time{
        font-size: 32rpx;
        font-weight: 500;
        color: #4A4A4A;
        margin-bottom: 10rpx;
        .time-red{
          color: #FF1E32;
        }
      }
      .time-title{
        font-size: 28rpx;
        color: #9B9B9B;
        margin-bottom: 40rpx;
      }

      .btn-pay-box{
        justify-content: flex-end;
        .btn-pay{
          border-radius:28rpx;
          width: 152rpx;
          height:56rpx;
          line-height: 56rpx;
          font-size: 28rpx;
          text-align: center;
          margin-left: 20rpx;
          &.cancel{
            color: #4A4A4A;
            border:1px solid rgba(204,204,204,1);
          }
          &.sure{
            color: #ffffff;
            background:rgba(20,204,118,1);
            border:1px solid transparent;
          }
        }
      }
    }
  }

  .remarks{
    padding: 40rpx;
    font-size: 28rpx;
    color: #9B9B9B;
    background: #ffffff;
    margin-bottom: 20rpx;
    .remarks-item:not(:last-child){
      margin-bottom: 40rpx;
    }
  }
}